aws kinesis
命令手册Official AWS CLI for Amazon Kinesis streaming data services. More information: https://docs.aws.amazon.com/cli/latest/reference/kinesis/index.html#cli-aws-kinesis.
aws kinesis list-streams
aws kinesis put-record --stream-name {{name}} --partition-key {{key}} --data {{base64_encoded_message}}
aws kinesis put-record --stream-name {{name}} --partition-key {{key}} --data "$( echo "{{my raw message}}" | base64 )"
aws kinesis list-shards --stream-name {{name}}
aws kinesis get-shard-iterator --shard-iterator-type TRIM_HORIZON --stream-name {{name}} --shard-id {{id}}
aws kinesis get-records --shard-iterator {{iterator}}